import request from '@/utils/request'

export function queryUser (params) {
  return request({
    url: '/user/page',
    method: 'get',
    params: params
  })
}

export function updUser (params) {
  return request({
    url: '/user',
    method: 'put',
    data: params
  })
}

export function addUser (params) {
  return request({
    url: '/user',
    method: 'post',
    data: params
  })
}
